projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5928107
)
* textprop.c (text_property_stickiness): doc fix.
author
Chong Yidong
<cyd@stupidchicken.com>
Wed, 28 Jun 2006 00:02:57 +0000
(
00:02
+0000)
committer
Chong Yidong
<cyd@stupidchicken.com>
Wed, 28 Jun 2006 00:02:57 +0000
(
00:02
+0000)
src/textprop.c
patch
|
blob
|
history
diff --git
a/src/textprop.c
b/src/textprop.c
index 87fa67429199a02cfe480e6efef65880638b4415..a268afba830503359ab28d5e0d1e8d949ecd3d81 100644
(file)
--- a/
src/textprop.c
+++ b/
src/textprop.c
@@
-1787,8
+1787,12
@@
text_property_stickiness (prop, pos, buffer)
/* PROP is rear-non-sticky. */
is_rear_sticky = 0;
}
+ else
+ return 0;
/* Consider following character. */
+ /* This signals an arg-out-of-range error if pos is outside the
+ buffer's accessible range. */
front_sticky = Fget_text_property (pos, Qfront_sticky, buffer);
if (EQ (front_sticky, Qt)